<template>
	<view class="page content">{{ token }}</view>
	<button @click="copy(token)">复制</button>
</template>

<script setup>
	import { ref } from 'vue';
	import { copy } from '@/utils/common/index';

	const token = ref(uni.getStorageSync('token'));
</script>

<style lang="scss" scoped>
	.content {
		word-wrap: break-word;
		word-break: break-word;
		white-space: normal !important;
	}
</style>
